Giter Club home page Giter Club logo

aps-webhooks-test's Introduction

aps-webhooks-test

Sample for testing web hooks

Introduction

The purpose of this sample is to help you test webhooks 'extraction.finished' event for emea objects.

How to run it

This sample is currently available at https://webhooks-emea-test.autodesk.io, and it works in a way that you can paste your token and a workflow id of your choice to create a webhook (listening to 'extraction.finished' event).

First step, you'll need to obtain a 2-legged token. You can do that through tools such as Insomnia, Postamn or a curl command, just like in our tutorials

To create a Webhook, the token needs the 'data:read' and 'data:create' scopes.

With that, you're able to use this sample app.

You just need to click on 'create webhook' button at the top right corner

create webhook button

After that, you'll see a window with options to input the two-legged token and workflow-id (just like the one below)

createhookwindow

If you type a valid token and a correct workflow id, you'll see a success message.

success

From now it is important that you keep this window open, so the connection between server and your client remains valid with the id passed to the hook

With that, you can now use this workflow id to POST job for the translation you wanna test.

To start the translation, you'll need to use once more Insomnia or Postman with tha same workflow id.

After the translation finishes, you should see your hook payload just like in the image below

result

aps-webhooks-test's People

Contributors

joaomartins-callmejohn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.