Check HTML Text for SSRF Threats in PHP

composer require cloudmersive/cloudmersive_validate_api_client
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
$apiInstance = new Swagger\Client\Api\TextInputApi(


new GuzzleHttp\Client(),
$config
);
$value = "value_example"; // string | User-facing HTML input.
try {
$result = $apiInstance->textInputCheckHtmlSsrf($value);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TextInputApi->textInputCheckHtmlSsrf: ', $e->getMessage(), PHP_EOL;
}
?>

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Steering: How Baking Decisions into Legal Contracts Helps Projects Fail

Node & Vue with Rancher 2, Kubernetes, Docker, self-hosted CaaS

10s to easily install confluent-kafka[avro] in Windows

How to Pass data to view from Controller ?

GraphDB Newcomers; Data PM; ML Engineers; ThDPTh #42

Day 72 — Creating Manager Classes in Unity

CS373 Fall 2020: Brandon Nsidinanya

An In-tro to the In-dex

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

Build Web App Mini Sosmed with Laravel 8 [Part 5][End]

Laravel Route 101: Basics & Best Practices

Custom Notification in Laravel — StudySection Blog

Custom Notification in Laravel — StudySection Blog

Laravel 8 Datatables Keeping Selected Page Number