Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When testing the emergency API from the command line or terminal, you may find that a valid Emergency API URL causes a 400 Bad Request error to be returned. This may be because your terminal is interpreting ? or & as special characters. In this case, it may be necessary to wrap the URL in quotes.

For example, if you’re using wget:

Code Block
wget "https://api.vivi.io/public/v1/emergencies/trigger?key=my_key&type=9716eec6-112f-4940-b1b5-16f3d66ca2ea&location=6e7873b3-05e4-4ac6-8719-db049d53fbee"

...