WiseLoop

WiseLoop supports this item

Supported

56 comments found.

Can you give me any guideline using it inside codeigniter and laravel?

Hello and thank you for buying,
The included samples and the documentation are valid regardless the environment. Even we are not familiar with the frameworks you mentioned I’m sure you will manage to embed our API in your project. Our support policy is here: http://wiseloop.com/support-policy
Cheers!

Hello, I understand MySQL is not included in this package. How much would it cost to implement MySQL that connect to 2 databases that have 5 tables in each db.

Hello and thank you for getting in touch,
Please send us an email with more details on in order to make an assessment.
Thanks!

Hi there sample for acces to database ? and i would like to have url like this if possible /categories/1/products/1,2,4

Hello and thank you for getting in touch,
The package contains a demo called “Sample DB REST Service Simulation” that is a simulation on how to build a REST controller to expose a DB functionality. Because our PHP REST Services product is a general purpose API builder and can target any data storage, in order to make the sample independent to a very specific DB, the sample is not bounded to a DB engine such a MySQL – it uses the file system to store data and it should give a very good starting point on how to build a service that expose some data taken from any DB engines or storage engines. If you want to make it very specific to MySQL, you just need to replace the reads and writes to actual specific MySQL statements – the internet is full of documents and tutorials on how to access MySQL DB engine.
Cheers!

hi how to get http ://rest-service-endpoint-url/v1/hello will return Hello World; instead of http ://rest-service-endpoint-url/hello/v1/hello will return Hello World; ?

regards

please how to get pagination , 100 items limit ?

Hello and thank you for buying,
Pagination is something that you will need to build like in any other frameworks; you should use request parameters and then based on then compute which and how many items you will deliver.
Cheers!

Hello and thank you for buying,
Regarding index.php removal, if you are on apache server you can edit .htaccess – a simple internet search will reveal how. Regarding index, you can just simply skip it when defining api routes – please check the included examples.
Cheers!

wghat mean skip it when defining your route

you can simply define the routes without index; please check the examples.

Hi , is it possible to have something like this ?

/items/1/categories/2

Hello, the route setting specifies how the route should be formatted. Inside the controllers using $this->getService()->getRequest() -> getQueryParams() will gain access to the route parameters values.
Cheers!

any example ? i really do?t get

items And catégories are not params but controller

this scripts are not clear, and doc is nightmare

Hello, thank you for buying and thank you for your feedback. This is a 5 star rated product and we are very interested in offering good experience for the developers using this product. So, please offer us more details regarding your complaint. We think that the code is very clear and the clarity is even better when looking at the included examples. We also tried to make the documentation as structured as possible and also includes some tutorials on how to get started and get advanced in using this product.
Thank you!

Hi How to increase this delays ? 503 Service Unavailable: Too many requests. Requests are limited to 5 per 5 seconds. Please try again later.

refund me please you don’t support and i have paid for !!!

Hello again,
This setting is for protecting the API built using this framework against high frequency spam request attacks. The acceptable number of requests per time unit can be set inside the rest-settings.ini file by tunig the max_hits_per_5seconds=5 to some larger value. Also the anti-spam filter can be disabled by removing the require_once ’/php-rest-services/bin/triggers/wlRestTriggerAntiSpam.php’ from the index.php end point file.
Cheers!

Hi,

I am really interested in buying your script, but i have few questions.

1. Is it easy to use for beginner developer like me?

2. Can i use this to get user login information for my support website (php website) from my other website (codeigniter framework)? What do i do?

Please give me some general steps, it will be okay. I need to understand your script before buying. Thank you

Hello and thank you for getting in touch,
1. It should be quite easy if you follow the documenatation and pay some attention to the included samples
2. I’m not sure I understand your question. This is as REST API framework …
Cheers!

Hi,

Can you tell me if your Auth supports tokens? We wish to develop a mobile app (ionic / angularjs) but understand sessions is not the preferred method for storing auth info.

Regards,

James

Hello and then you for buying,
A general auth support is provided out of the box and also some implementations of it. Tokens are not included out of the box, but they can be implemented by the developer taking some inspirations from the others included auth methods.
Cheers!

Bought it & liked it but in 2016 basic formdata auth is really outdated. Would like to see some examples of auth based on tokens etc. via bearer headers like oAuth.

Hello, thank you for buying and thank you for your suggestion. We will think of it and maybe we will consider it in the following releases.
Cheers!

Hi, my name is Matthew and i wondering buy this software. My question is: If I will offer access to my software (i will be selling this access) via your API server am I have to spent $50 for license or will be enough to $10 license ? Cheers,

Hello and thank you for gettin gin touch,
If you intend to include our component inside a software you are going to sell, I believe you need an extended license. More information here: http://codecanyon.net/licenses
Cheers!

stctr

stctr Purchased

For auth isn’t it better to use basic auth headers instead posting the login as paramaters?

How I do it:

public function authenticate($authData){ //$userName = $authData['userName']; //$password = $authData['password']; $userName = $_SERVER['PHP_AUTH_PW']; $password = $_SERVER['PHP_AUTH_USER']; if($userName == $this->_userName && $password == $this->_password) { return array( 'userName' => $userName, 'timestamp' => time() ); } throw new Exception('Invalid credentials', 401); }

This way the information is hidden:

Hello and thank you for buying,
It might be better depending on ones needs, but keep in mind that anything goes over the wire (unless using ssl) either using headers or reqest payloads is visible. Anyway, the authentication mechanisms provided can be adjusted and enriched by the development depending on the needs. Please consult the sample code and the documentation provided.
Cheers!

Hi, I’m interested in buying this script but first I want to know if you offer the customization service. Thank you.

Hello and thank you for getting in touch,
Event if generally we are kind of busy and not very available for freelance jobs, we do offer tips and advices on our products usage. This is a generic product and maybe it does not need real customization jobs. Please send us an e-mail message with more details about what you have in mind and we can talk about it via e-mail.
Cheers!

Hello, which database support ur script ? does ur script has wsdl support?

Hello and thank you for getting in touch,
This is a general REST API component that focuses on data interactions; therefore any database can be used. Please find more details here: http://wiseloop.com/tutorial/php-rest-services/faq
Regarding wsdl, there is no out of the box support for it but the developer can build a route with service description if needed.
Cheers!

Rigo_1

Rigo_1 Purchased

Hi, all good on the FrameWork. Only one problem I have. How do the sessions with wlSession. Suppose a user logs in with me on the server. And I want to make can only query the another web server when the user is logged in with me. So for example, Session [‘user_id’] thus use the query of webservices ever works from the remote server.

Do you have an ex. For use of wlSession?

thank you Best Regards Rigo_1

Rigo_1

Rigo_1 Purchased

Ah sorry something. I think I have explained above misleading. Not that someone does not think I knew that now with the get ( ‘key’)

I can the session data in local life call read with $ this-> get (‘username’); etc. But as I said at external call I get this not to see. Except I put in the external call again the session.

Do not think that this is the point of it.

thank you BR Rigo_1

Rigo_1

Rigo_1 Purchased

lol, ok all good! If it is done properly, it even works! i’m learning this technic also still :)

BR Rigo_1

Hello, thank you for buyingand sorry for the late response.
Great that you figure it by your own! :)
Cheers!

by
by
by
by
by
by