• Installs:
  • Today: 876
  • This Week: 0
  • This Month: 0
  • All Time: 7884
Developer:userapicloud
Discussions
3 Answers
Follow conversation
404 Status
Hi

I am successfully able to make calls to your API in the Mashape interface but as soon as I move to the command line in Ruby using different libraries I always get the same status returned.

* The request is sending the right content as seen in the content length.
* I changed the url to post to my server and was able to retrieve the image
* I tried imagga using exactly the same ruby code and only changed the url and it works fine

**Request**

```
I, [2016-09-17T16:22:25.818259 #16439] INFO -- : post https://apicloud-colortag.p.mashape.com/tags-file.json
D, [2016-09-17T16:22:25.818309 #16439] DEBUG -- request: User-Agent: "Faraday v0.9.2"
X-Mashape-Key: "..."
Content-Type: "multipart/form-data; boundary=-----------RubyMultipartPost"
Content-Length: "1346518"
date: "Sat, 17 Sep 2016 15:22:29 GMT"
server: "Mashape/5.0.6"
x-ratelimit-calls-limit: "500"
x-ratelimit-calls-remaining: "446"
content-length: "20"
connection: "Close"
```

**Response**

```
"content-type"=>"text/html
charset=UTF-8"
"date"=>"Sat, 17 Sep 2016 15:17:27 GMT"
"server"=>"Mashape/5.0.6"
"x-ratelimit-calls-limit"=>"500"
"x-ratelimit-calls-remaining"=>"447"
"content-length"=>"20"
"connection"=>"Close"
"status"=>404
```

Anything you can do to help would be great. I am very keep to use your API rather than others.
user
apicloudresponded with an answer
Sure, you are welcome!)
user
SmartPickingsresponded with an answer
Such a silly mistake. Thank you for taking the time to respond.
userHello developer, Please Sign in to post an answer
x
circle
ColorTag
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Connect your app to APIs via RapidAPI

Consume and monitor multiple APIs through the RapidAPI SDK.
Click start to set up your app and connect to your first API.

START

Give your app a name

This app will be used in RapidAPI to collect and connect all the APIs you need.

NEXT

Connect your project

Choose your backend language and then install & require the RapidAPI SDK.

  • node
    NodeJS
  • php
    PHP
  • python
    Python
  • objc
    Obj-C
  • android
    Android
  • go
    GO
  • ruby
    Ruby
  • csharp
    C#

Install SDK

Run the following command to install the SDK:

npm install rapidapi-connect --save

Require SDK

In your code, add the following code to require the RapidAPI SDK:

NEXT

Hooray! You are connected

Use the following code to try it out by getting all the APIs that are on RapidAPI.

rapid.call('RapidAPI', 'getAll', {'{}'});
FINISH
esccloses this view
x

Login to RapidAPI

Create endpoints based on popular APIs and share with others.
Follow popular APIs and get updated. Stand out in the community of developers.

LOG INSIGN UP
Login with Github
Login with Facebook
Login with Google
Or
Remember Me

  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
    Sign up with Github
    Sign up with Facebook
    Sign up with Google
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view