Skip to main content

Akoya
Documentation

Curl

Curl is a tool that allows you to make HTTP requests from the command line or through scripting. curl makes use of libcurl, a URL transfer library.

Online Documentation

In the online documentation, the curl command examples follow OSX/Linux/Unix command syntax.

If you are using Windows Command shell or PowerShell, there are a few notable differences in using these curl snippets.

  • Windows does not support single quotes in Command shell, nor does it support double quotes inside of double quotes. You must edit each example:

    • Change single quotes to double quotes.

    • If you need a double quote inside a double quote, escape the second set of double quotes, for instance: "{\"emailAddress\":\"user@example.com\"}"

  • Line continuation backslashes improve readability and are not necessary. You can delete these backslashes or replace them with ^ in Command shell or ` in PowerShell.

OSX/Linux/Unix

Windows cmd.exe

PowerShell

Line Continuation Character

\

^

`

Quotes types

'

"

'

CTRL + K