webhooks -- for rest api call backs

  • Hello,

    I am curious. Is it possible to create webhooks for rest api callbacks in C3?

    I understand that call backs are essentially parameterized URLs that are called by a server, that essentially are the call backs.

    i hope i got this right

    thanks,

    Dan

  • Sure, with the Ajax plug, and as long as you have a way to parse the response.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks.

    I am confused.

    Although ajax uses events asynchronous to get the result of an ajax call; this seems however, "merely" C3's way to deal with return values from a Get/Post call.

    How would once set up a call from the server that would not be preceded by an ajax get/post call...

    hope i got this right,

    thank you,

    Dan

  • are perhaps web-sockets a better way to deal with "call backs" -

  • Thanks.

    I am confused.

    Although ajax uses events asynchronous to get the result of an ajax call; this seems however, "merely" C3's way to deal with return values from a Get/Post call.

    How would once set up a call from the server that would not be preceded by an ajax get/post call...

    hope i got this right,

    thank you,

    Dan

    You can only call for help. Help can't call you. "ET phone home" kinda.

    are perhaps web-sockets a better way to deal with "call backs" -

    If the server you're talking to uses it sure.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)