Receive email notifications by changing your settings.
Click on your picture in the top right corner, go to Preferences and select your notification preferences.
Thank you for contributing to our forum!
Please keep in mind:
1. To only comment on the topic where the discussion is about. Do you have a new question or topic? Please start a new discussion.
2. Be kind to other users!

API with FME

Hi Support,

I got ambitious and would like to use the API with FME. Do you have an example for me?

Thank you,

Ward

Tagged:

Comments

  • I should perhaps be a bit more precise with my question.

    Let say I'd like to make a POST request to get the domain sessions.

    https://engine.tygron.com/api/event/io/get_domain_sessions/

    Would it be possible to provide me with an example of how to do this with FME? I did read the wiki (https://support.tygron.com/wiki/REST_API)

    A print screen of how far I got (not with my actual b64 user:pw)


  • Yes, figured it out.

    My mistake. I should have read your wiki better!

  • Hey Ward,

    I'm of course very happy to hear you were able to resolve your question on your own. I am curious, however, what it was that you changed or resolved to make your call work. Would you be willing to provide a bit more info?

    Kind regards!

  • Yes, well, I worked with R first and using the API is quite easy. That's why I expected it to be even easier with FME. But it turned out that you have to read the wiki and read everything. 😊

    The next sentence in your wiki is quite important and easy to miss.

    Note that the supplied Content-Type header must be "application/json", the Accept header must be "application/json", and the f=JSON parameters must be added to the url. Also note that when sending parameters in JSON format, optional parameters may be left out entirely.

Sign In or Register to comment.