UrlFetchApp POST coding example lesson How to send data to an endpoint UrlFetchApp POST JSON

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 16

  • @KevinMasliah
    @KevinMasliah ปีที่แล้ว +1

    Hi Laurence !

  • @alejomoreno1
    @alejomoreno1 7 หลายเดือนก่อน

    help i have a this error returned code 500. Truncated server response:

  • @jigyasudrishti5585
    @jigyasudrishti5585 ปีที่แล้ว +1

    How to send data as a content type x-www-form-urlencoded in appscript?
    I am getting null parameter error.

  • @aclaytonbr
    @aclaytonbr ปีที่แล้ว +1

    Great content !!! For some reason i can not find it works perfectly at Script Editor, but when i call my function at the sheet it does not works. Any clue ? PS: I am trying to fetch a https url.

  • @KevinMasliah
    @KevinMasliah ปีที่แล้ว +1

    is that possible to send data in website to login ?

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  ปีที่แล้ว

      Yes keep in mind frontend code is not secure

    • @KevinMasliah
      @KevinMasliah ปีที่แล้ว

      @@LaurenceSvekisCourses Thank you for your answer !
      I always keep it in mind 😉 but I tried, without success, to connect to a website with login connexion, and I can't find a way to do it with google apps script!
      With python code and libraries like selenium, no problem! I send and retrieve data, I simulate events, but with google script.. ???
      Have you ever thought of making a video about it?
      in any case, thank you for your videos, you have greatly facilitated my learning of google script!

  • @senju31
    @senju31 2 ปีที่แล้ว +2

    How do you send the data to Laravel?

    • @LaurenceSvekisCourses
      @LaurenceSvekisCourses  2 ปีที่แล้ว +1

      Laravel is ideal for API's just setup to the route in the Laravel and then its a regular fetch to the endpoint

    • @senju31
      @senju31 2 ปีที่แล้ว

      @@LaurenceSvekisCourses I've been trying that but it's not working. For context, I am very new to Laravel. I was able to get the data from Google App Script using vanilla PHP no problem.

    • @senju31
      @senju31 2 ปีที่แล้ว

      @@LaurenceSvekisCourses The error I keep getting in the Google App's Script Execution section is as follows: *Fatal error: Uncaught Error: Class "Illuminate\Support\Facades\Route" not found* in D:\xampp\htdocs\cenedexfestiv
      outes\web.php:22

    • @senju31
      @senju31 2 ปีที่แล้ว

      I actually figured it out. I made a video about it. th-cam.com/video/l-_fbYaw9G0/w-d-xo.html