A
A
Almik Oh! Give me a guitar2014-11-21 06:21:22
Yii
Almik Oh! Give me a guitar, 2014-11-21 06:21:22

Yii how to create a get/post request to another server/site?

Hello!
There is an extjs form where, on certain events, you need to get data from another site / server. I access the method / url that is located on my site, and the method, in turn, receives data from another server and processes them and returns the extjs form.
The question is how to make a request from yii to another server.
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis, 2017-09-08
@sidni

updated...
https://habrahabr.ru/post/304584/

B
Boris Benkovsky, 2014-11-21
@benbor

Just like from any other framework

  • php.net/manual/en/book.curl.php
  • guzzle.readthedocs.org/en/latest
  • https://github.com/kriswallsmith/Buzz

A
Anton Shamanov, 2014-11-21
@SilenceOfWinter

Actually the same as local yiiframework.com/doc-2.0/guide-runtime-requests.ht...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question