URL Encode/Decode REST Endpoint

The other day I overheard someone needing to encode/decode a URL string inside of a Nintex Workflow. Presently this is a non-trivial task (more information here), so I decided to simplify the process a bit by creating a set of REST web service endpoints that would handle the encoding/decoding process.

These web services can easily be called from the Nintex Workflow Web Request actions in On premises products as well as O365.

To utilize this web service reference the following:

Encode

Endpoint: POST http://swunaapi.azurewebsites.net/api/Url/Encode

{"value" : "Url To Encode"}

Decode

Endpoint: POST http://swunaapi.azurewebsites.net/api/Url/Decode

{"value" : "Url To Decode"}