SudhanaA's Recent Forum Activity

  • Let me rephrase that; unless you need to use PUT to accommodate an API requirement, you should use POST.

    In any case, by all means, feel free to try and use PUT.

    And then let me save you an extra topic post by answering that potential topic upfront, which is likely to follow your course of action:

    You should use POST.

    EDIT:

    Here's a link with a good overview and info with regards to POST vs PUT

    thank you very much for your reply

  • Are you using an API that requires PUT ?

    Otherwise, stick to POST

    well the game was played on the iframe browser, but I want to update data on the server using PUT, is it possible?

  • Good day, I wonder if someone could help me with using the "PUT" method on Construct 3 (if possible without using any addon java scripting).

    Since the Construct 3 (C3) AJAX documentation, it stated on "POST to URL" that

    "...The method can also be specified: by default it is POST, but for some APIs, you may need to change this to PUT, DELETE, or another HTTP method."; and it's hard to find any example of using it.

    And I think, I want to learn on using "PUT" (partly it could make some of my projects easier on updating data to server)

    Tagged:

  • found it... i just need to put this after i extract data... so the parse get cleared...

  • now i think i got problem that probably because of wired stuff that i tried to do...

    i make an instant json with JSON.toBeautifiedString

    then encode with binary like this...

    before there is this parse and ajax.last data... its always base64 of any my JSON...

    but after i use AjAX.lastdata + JSON.parse my binary seems base 64 that ones...

    any idea how to "clear" this problem?

  • i think i got it... please fix me if i'm wrong...

    i need just to use this type of command?

    right?

  • sorry, in new on using AJAX, JSON, Xampp stuff. and i still learning on using it...

    i have this .json

    i tried to extract only partial data on "data" ones.. which is "user_id","user_number", and "status"

    my current code is this simple... i just want to make sure i can store the data, that i want to extract from, so i just send it to text to see

    since im using Xampp, its using http:// while construct 3 using https:// (for some reason even i run in localhost/..., its still not able to run on debug-mode in construct 3)

    thank you,

    i searching some guides and most of them using...

    on the top of data... so shoould i use it too? by replacing? the top of my "data" ?

    thank you

    Tagged:

  • You do not have permission to view this post

  • is there any way to use binary data... that we get and stored in global string, be translate into text or stored in json?

    i got and stored param from a URL that contain base64, (its not a picture, a json)

    i take with param and stored in global string.

    now how to i read/ decode that base64 using "binary data"? so that i can extract the data inside

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • good day,

    i wonder is there any guide how to use AJAX?

    like...

    - how to take token from server using "POST"

    - how and when to use the header

    - how to change to "Application/json"

    - how to send data with "POST" to a server

    thank you

    Tagged:

  • You do not have permission to view this post

SudhanaA's avatar

SudhanaA

Member since 26 Nov, 2021

None one is following SudhanaA yet!

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies