Giter Site home page Giter Site logo

api_rest_con_php's Introduction

API REST with PHP

https://tools4devs.herokuapp.com/
https://tools4devs.herokuapp.com/docs

ENDPOINTS

API REST version

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/

Response BODY

{
  "version": "20.07.2022.1"
}

Text to QR

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/qr/?text=Hello%20world' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/captcha/?text=Hello%20world

Response BODY

{
  "text": "Hello world",
  "url": "https://tools4devs.herokuapp.com/static/qr.png"
}

Text to CAPTCHA

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/captcha/?text=Hello%20world' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/captcha/?text=Hello%20world

Response BODY

{
  "text": "Hello world",
  "url": "https://tools4devs.herokuapp.com/static/captcha.png"
}

Text to MD5 SHA1 SHA256

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/encrypt/?text=hello' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/encrypt/?text=hello

Response BODY

{
  "text": "hello",
  "md5": "5d41402abc4b2a76b9719d911017c592",
  "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "sha1": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d"
}

Lorem generator

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/lorem/?words=10' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/lorem/?words=10

Response BODY

{
  "words": 10,
  "lorem": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque pellentesque "
}

Random password generator

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/password?size=10' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/password/?size=10

Response BODY

{
  "size": 10,
  "password": "hO8-=dzR_q"
}

Text to speech

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/text2speech/?text=Hello%20world' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/text2speech/?text=Hello%20world

Response BODY

{
  "text": "Hello world",
  "url": "https://tools4devs.herokuapp.com/static/text2speech.mp3"
}

MyIP

CURL

curl -X 'GET' 'https://tools4devs.herokuapp.com/myip' -H 'accept: application/json'

Request URL

https://tools4devs.herokuapp.com/myip

Response BODY

{
  "ip": "127.0.1.1"
}

api_rest_con_php's People

Contributors

salvadorhm avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.