Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any general purpose CRUD client applications?

Tags:

php

curl

crud

I'm creating a CRUD style API using PHP Tonic that uses the same URL (for instance /somepath/person) to which you can do POST, GET, PUT and DELETE requests. But I've run into a problem with testing the API. It's obviously easy to test GET (just visit the URL with a browser) but how can I test the remaining 3 request methods?

I'm imagining a desktop CRUD client where I get a simple text box in which to put query parameters, an URL box and a send button.

Does an application like this already exist, or will I have to make one?


Alternative question, can I use CURL for this? In which case, how?

like image 680
Hubro Avatar asked Apr 18 '12 12:04

Hubro


People also ask

What is a basic CRUD app?

CRUD refers to the four basic operations a software application should be able to perform – Create, Read, Update, and Delete. In such apps, users must be able to create data, have access to the data in the UI by reading the data, update or edit the data, and delete the data.

Are most apps CRUD?

Most applications on the internet are actually CRUD applications. For instance, let's take Facebook as one of the common examples – it's just a CRUD application where users can create, delete, change information about themselves, and read information about other people.

Where are CRUD operations used?

In computer programming, create, read, update, and delete (CRUD) are the four basic operations of persistent storage. CRUD is also sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information using computer-based forms and reports.

What is the difference between REST API and CRUD?

In its base form, CRUD is a way of manipulating information, describing the function of an application. REST is controlling data through HTTP commands. It is a way of creating, modifying, and deleting information for the user. CRUD functions can exist in a REST API, but REST APIs are not limited to CRUD functions.


2 Answers

I've used the plugin "Advanced REST Client Application" for Chrome and it work perfectly and is easy to use.

like image 110
ke20 Avatar answered Sep 28 '22 09:09

ke20


Well , Very good question! The following Chrome extensions can get the job done

  • Advanced REST client Application
  • REST Console
  • Postman REST Client

Second answer, yes curl can do the job for you - here's an example.

like image 26
tawfekov Avatar answered Sep 28 '22 10:09

tawfekov