Can no longer get to Tropo using ThingHTTP | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Can no longer get to Tropo using ThingHTTP
Avatar
irasch

Silver
Forum Posts: 7
sp_UserOfflineSmall Offline
1
September 4, 2017 - 12:23 pm
sp_Permalink sp_Print

I have an arduino app that's been working since November 2016. Nothing changed. As of a few weeks ago, calls via ThingHTTP are no longer going to Tropo. My setup is:

Name: TropoSendSMS

API Key: xxxxxxxxxxxx

URL: https://api.tropo.com/1.0/sessions?action=create&token=039.....dc

HTTP Auth Username:

HTTP Auth Password:

Method: POST

Content Type: application/x-www-form-urlencoded

HTTP Version: 1.0

Host: https://api.tropo.com

Body: &phone=%%number%%&msg=%%message%%

Parse String:

Created: 2016-11-24 12:40 pm

The Arduino code is (and seems to work fine): 

 

  if (client.connect(server, 80))

  {

    client.print("GET /apps/thinghttp/send_request?api_key=");

    client.print(apiKey);

    client.print("&number=");

    client.print(number);

    client.print("&message=");

    client.print(message);

    client.println(" HTTP/1.1");

    client.print("Host: ");

    client.println(server);

    client.println("Connection: close");

    client.println();

  }

  else

  {

    Serial.println(F("Connection failed"));

  }

Running the program results in :

Setting up Ethernet...

My IP address: 192.168.1.134

Sending SMS

HTTP/1.1 200 OK

Content-Type: text/html; charset=utf-8

Content-Length: 0

Connection: close

Status: 200 OK

X-Frame-Options: ALLOWALL

Access-Control-Allow-Origin: *

Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH

Access-Control-Allow-Headers: origin, content-type, X-Requested-With

Access-Control-Max-Age: 1800

Cache-Control: no-cache

X-Request-Id: 555138d5-1936-42f6-815c-2c58bf4469cf

X-Runtime: 0.066313

X-Powered-By: Phusion Passenger 4.0.57

Date: Mon, 04 Sep 2017 15:50:16 GMT

Server: nginx/1.9.3 + Phusion Passenger 4.0.57

But no call actually gets to Tropo. 

Any idea why this stopped working? 

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: alexparrado
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 250

Vinod: 142

piajola: 73

vespapierre: 63

Adarsh_Murthy: 59

cstapels: 54

Newest Members:

chrissaxon

getty

l3inbin

ossan

gbalychik

wul

Forum Stats:

Groups: 4

Forums: 17

Topics: 1242

Posts: 4315

 

Member Stats:

Guest Posters: 1

Members: 5546

Moderators: 0

Admins: 2

Administrators: Hans, lee