Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const revOrder = function(location) {
var options = {
method: 'POST',
url: '',
json: true,
headers: {
Authorization: auth_header,
'Content-Type': 'application/json'
body: {
client_ref: "a username goes here",
caption_options: {
inputs: [
{uri: location}
output_file_formats: ["SubRip"]
request(options, function (error, response, body) {
if (error) console.log(error);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment